package com.liush.bookstore.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_cart")
public class Cart {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer book;
    private String bookname;
    private String bookimg;
    private Double price;
    private Integer buycount;
    private Integer user;
}